/**
 * 0459
 *  
 * @Author : roryrywang
 * @DateTime : 2024/8/13 23:15
 */

#include <iostream>
#include <vector>

using namespace std;

class Solution {
public:
    bool repeatedSubstringPattern(string s) {
        return (s + s).find(s, 1) < s.size();
    }
};

int main() {

    return 0;
}